Add -Wdeclaration-after-statement to CFLAGS only if the
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Wed, 23 Nov 2005 10:15:18 +0000 (11:15 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Wed, 23 Nov 2005 10:15:18 +0000 (11:15 +0100)
commit9d401b35f071a91e7281fcdd4a5ceba0dc125ba4
treef8f94a3e07c89102cef3c04857fefcdda74a611e
parent1366ee55cc401bf8b1fbedf50451765cd577c1bf
Add -Wdeclaration-after-statement to CFLAGS only if the
compiler supports it. Move test-gcc-flag function to
Config.mk where it can be used by any component of the
build.

Signed-off-by: Keir Fraser <keir@xensource.com>
Config.mk
xen/Rules.mk